package cn.wolfcode.mongodemo2.reporitory;

import cn.wolfcode.mongodemo2.domain.User;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface UserReporitory extends MongoRepository<User,String> {

    User queryByName(String name);

}
